package com.linghang.association.mapper;

import com.linghang.association.domain.DepartWork;
import com.linghang.association.domain.DepartWorkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DepartWorkMapper {
    long countByExample(DepartWorkExample example);

    int deleteByExample(DepartWorkExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartWork record);

    int insertSelective(DepartWork record);

    List<DepartWork> selectByExample(DepartWorkExample example);

    DepartWork selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepartWork record, @Param("example") DepartWorkExample example);

    int updateByExample(@Param("record") DepartWork record, @Param("example") DepartWorkExample example);

    int updateByPrimaryKeySelective(DepartWork record);

    int updateByPrimaryKey(DepartWork record);
}